<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ include file="/WEB-INF/common/common.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta charset="utf-8" />
		<title>考试安排</title>
		<meta name="description" content="壁虎学车" />
		<meta name="keywords" content="壁虎学车"/>
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<link rel="stylesheet" href="<%=path%>/BihuWeb/css/amazeui.min.css" />
		<link rel="stylesheet" href="<%=path%>/BihuWeb/css/style.css" />
		<script type="text/javascript" src="<%=path%>/BihuWeb/js/jquery.min.js" ></script>
		<script type="text/javascript" src="<%=path%>/BihuWeb/js/amazeui.min.js" ></script>
	</head>
	<body>
    <header data-am-widget="header" class="am-header am-header-default header">
	<!--   <div class="am-header-left am-header-nav">
		     <a href="#left-link" class=""> 
		       <i class="am-header-icon am-icon-angle-left"></i>
		     </a>
		  </div> -->	
		  <h1 class="am-header-title"> <a href="#title-link" class="" style="color: #333;">考试安排</a></h1>
		
	  </header>
      <c:choose>
      <c:when test="${0 == sign }"><div class="detail"><p class="text">未报考驾校，无法填写考试安排</p></div></c:when>
      <c:when test="${1 == sign }">
      
       <div data-am-widget="intro" class="am-intro am-cf am-intro-default">
		  
		  
		 
		    <div class="am-intro-hd">
            
		        <h2 class="am-intro-title">科目一<c:choose>
        	<c:when test="${0 == exams[0].examState}">
        		(未考) <a href="<%= basePath%>/ExamOrder_toMark.action?id=${exams[0].id}&examtype=0&openid=${openid}"> <b style="float: right;color: #ff9934;">录入成绩</b>
	        </c:when>
	        <c:when test="${1 == exams[0].examState}">
	        	(完成)<a href="<%= basePath%>/ExamOrder_toMark.action?id=${exams[0].id}&examtype=0&openid=${openid}"> <b style="float: right;color: #ff9934;">修改</b>
	        </c:when>
	        <c:when test="${2 == exams[0].examState}">
        		(缺考)
	        </c:when>
	        <c:otherwise>
	        	(未报考)<a href="<%= basePath%>/ExamOrder_toMark.action?id=${exams[0].id}&examtype=0&openid=${openid}"> <b style="float: right;color: #ff9934;">登记</b>
	        </c:otherwise>
        </c:choose>
         </h2>
               
		    </div>
             </a>
               <div class="detail">
		   <c:choose>
		   	<c:when test="${null == exams[0] }"></c:when>
		   <c:otherwise>
			        	<p>考试时间：${exams[0].examTime }</p>
                        <p>地点：${exams[0].examAddress }</p>
                        <p>成绩：${exams[0].examGrade }</p></c:otherwise>
		   
		   </c:choose>
		
			        </div>
		
		 <div class="am-intro-hd">
            
		        <h2 class="am-intro-title">科目二<c:choose>
        	<c:when test="${0 == exams[1].examState}">
        		(未考) <a href="<%= basePath%>/ExamOrder_toMark.action?id=${exams[1].id}&examtype=1&openid=${openid}"> <b style="float: right;color: #ff9934;">录入成绩</b>
	        </c:when>
	        <c:when test="${1 == exams[1].examState}">
	        	(完成)<a href="<%= basePath%>/ExamOrder_toMark.action?id=${exams[1].id}&examtype=1&openid=${openid}"> <b style="float: right;color: #ff9934;">修改</b>
	        </c:when>
	        <c:when test="${2 == exams[1].examState}">
        		(缺考)
	        </c:when>
	        <c:otherwise>
	        	(未报考)<a href="<%= basePath%>/ExamOrder_toMark.action?id=${exams[1].id}&examtype=1&openid=${openid}"> <b style="float: right;color: #ff9934;">登记</b>
	        </c:otherwise>
        </c:choose>
         </h2>
               
		    </div>
             </a>
               <div class="detail">
		   <c:choose>
		   	<c:when test="${null == exams[1] }"></c:when>
		   <c:otherwise>
			        	<p>考试时间：${exams[1].examTime }</p>
                        <p>地点：${exams[1].examAddress }</p>
                        <p>成绩：${exams[1].examGrade }</p></c:otherwise>
		   
		   </c:choose>
		
			        </div> <div class="am-intro-hd">
            
		        <h2 class="am-intro-title">科目三<c:choose>
        	<c:when test="${0 == exams[2].examState}">
        		(未考) <a href="<%= basePath%>/ExamOrder_toMark.action?id=${exams[2].id}&examtype=2&openid=${openid}"> <b style="float: right;color: #ff9934;">录入成绩</b>
	        </c:when>
	        <c:when test="${1 == exams[2].examState}">
	        	(完成)<a href="<%= basePath%>/ExamOrder_toMark.action?id=${exams[2].id}&examtype=2&openid=${openid}"> <b style="float: right;color: #ff9934;">修改</b>
	        </c:when>
	        <c:when test="${2 == exams[2].examState}">
        		(缺考)
	        </c:when>
	        <c:otherwise>
	        	(未报考)<a href="<%= basePath%>/ExamOrder_toMark.action?id=${exams[2].id}&examtype=2&openid=${openid}"> <b style="float: right;color: #ff9934;">登记</b>
	        </c:otherwise>
        </c:choose>
         </h2>
               
		    </div>
             </a>
               <div class="detail">
		   <c:choose>
		   	<c:when test="${null == exams[2] }"></c:when>
		   <c:otherwise>
			        	<p>考试时间：${exams[2].examTime }</p>
                        <p>地点：${exams[2].examAddress }</p>
                        <p>成绩：${exams[2].examGrade }</p></c:otherwise>
		   
		   </c:choose>
		
			        </div> <div class="am-intro-hd">
            
		        <h2 class="am-intro-title">科目四<c:choose>
        	<c:when test="${0 == exams[3].examState}">
        		(未考) <a href="<%= basePath%>/ExamOrder_toMark.action?id=${exams[3].id}&examtype=3&openid=${openid}"> <b style="float: right;color: #ff9934;">录入成绩</b>
	        </c:when>
	        <c:when test="${1 == exams[3].examState}">
	        	(完成)<a href="<%= basePath%>/ExamOrder_toMark.action?id=${exams[3].id}&examtype=3&openid=${openid}"> <b style="float: right;color: #ff9934;">修改</b>
	        </c:when>
	        <c:when test="${2 == exams[3].examState}">
        		(缺考)
	        </c:when>
	        <c:otherwise>
	        	(未报考)<a href="<%= basePath%>/ExamOrder_toMark.action?id=${exams[3].id}&examtype=3&openid=${openid}"> <b style="float: right;color: #ff9934;">登记</b>
	        </c:otherwise>
        </c:choose>
         </h2>
               
		    </div>
             </a>
               <div class="detail">
		   <c:choose>
		   	<c:when test="${null == exams[3] }"></c:when>
		   <c:otherwise>
			        	<p>考试时间：${exams[3].examTime }</p>
                        <p>地点：${exams[3].examAddress }</p>
                        <p>成绩：${exams[3].examGrade }</p></c:otherwise>
		   
		   </c:choose>
		
			        </div>
		<div class="detail"><p class="text">填写考试安排，教练将优先给你指导</p></div>
		
		    	
			   
	
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		  
		 


		    

		  </div>
      
      </c:when>
      	
      </c:choose>
	
		 
		 
		
		
		
	</body>
</html>
